<?php

namespace app\admin\validate;
use think\Validate;

class Shipping extends Validate
{
    protected $rule = [
        'name'      => 'require',
        // 'cede'      => 'require|unique:user',
    ];

    protected $message = [
        'name.require'      => '名称不能为空',
        // 'cede.require'      => '简称不能为空',
        // 'cede.unique'       => '简称不能已存在',
    ];
}
